﻿using ServiceWeb.APIRequest;
using UtilsMQ;
using UtilsMQ.Model;

namespace GatewayServer
{
    public static class RunOnline
    {
        public static void Run()
        {

            //工作 mq
            MqttClientService._topic = ConstantMqtt.gateway_server_topic;
            //MqttClientService._clientId= "webadmin_100";
            Thread MqttClientStart = new Thread(new ServiceWebMqttClient().MqttClientStart);
            MqttClientStart.Start();

        }
    }
}
